home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / Scanning Generic LaserWriter / Generic LaserWriter.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  3.6 KB  |  109 lines  |  [TEXT/MPS ]

  1. #
  2. # FILE
  3. #     Generic LaserWriter.make
  4. #
  5. # This is the make file for a generic LaserWriter driver.
  6. #
  7. # © 1991-1996 Apple Computer Inc.
  8. #
  9. #    6/14/96        cn                    Updated to support MPW Pro #19.
  10. #   8/28/94        dmh                    Finalized for the SDK.
  11. #  12/18/93        dmh                    Made non-IIg-specific for the b3 seed.
  12. #   9/13/93        dmh                    Updated for the b2 seed.
  13. #   4/26/93        dmh                    Validated for the b1 seed.
  14. #   2/04/93        dmh                    Modified for the a5 seed.
  15. #  10/22/92        Duane Byram            Added changes for version control
  16. #  05/30/91                            New Today
  17. #
  18.  
  19. #========== Directories Containing Source and Object Files ==========
  20.  
  21. ObjectsDir        =    :Objects:
  22. TargetsDir        = 
  23. SourcesDir        =    
  24.  
  25. #========== File names, etc. ==========
  26.  
  27. ChooserFile        = ChooserSupport
  28. DriverName      = Generic LaserWriter
  29.  
  30. kCreator        = 'scL1'
  31.  
  32. #========== Compiler Options ==========
  33.  
  34. AsmOptions        =        -case obj
  35. RezOptions        =        -i "{RIncludes}" -a
  36. CompileOptions    =        -b2 -d applec -i "{CIncludes}"
  37.  
  38. #======================================
  39.  
  40. "{ObjectsDir}{DriverName}.c.o"        ƒ    "{SourcesDir}{DriverName}.c"            ∂
  41.                                         "{SourcesDir}{DriverName}.make"
  42.         SC {CompileOptions} "{SourcesDir}{DriverName}.c" -o "{ObjectsDir}{DriverName}.c.o"
  43.  
  44. "{ObjectsDir}{ChooserFile}.c.o"        ƒ    "{SourcesDir}{ChooserFile}.c"            ∂
  45.                                         "{SourcesDir}{DriverName}.make"
  46.         SC {CompileOptions} "{SourcesDir}{ChooserFile}.c" -o "{ObjectsDir}{ChooserFile}.c.o"
  47.     
  48. "{ObjectsDir}{DriverName}.a.o"        ƒ    "{SourcesDir}{DriverName}.a"            ∂
  49.                                         "{SourcesDir}{DriverName}.make"
  50.         Asm {AsmOptions} "{SourcesDir}{DriverName}.a" -o "{ObjectsDir}{DriverName}.a.o"
  51.  
  52. "{ObjectsDir}{ChooserFile}.a.o"        ƒ    "{SourcesDir}{ChooserFile}.a"            ∂
  53.                                         "{SourcesDir}{DriverName}.make"
  54.         Asm {AsmOptions} "{SourcesDir}{ChooserFile}.a" -o "{ObjectsDir}{ChooserFile}.a.o"
  55.  
  56. "{TargetsDir}{DriverName}"            ƒƒ    "{SourcesDir}{DriverName}.r"            ∂
  57.                                         "{SourcesDir}{DriverName}.make"
  58.         Rez {RezOptions}                                                         ∂
  59.                 "{SourcesDir}{DriverName}.r"                                    ∂
  60.                 -o "{TargetsDir}{DriverName}"
  61.         SetFile -a Bi "{TargetsDir}{DriverName}"
  62.  
  63. "{TargetsDir}{DriverName}"            ƒƒ    "{SourcesDir}{ChooserFile}.r"            ∂
  64.                                         "{SourcesDir}{DriverName}.make"
  65.         Rez {RezOptions}                                                        ∂
  66.                 "{SourcesDir}{ChooserFile}.r"                                    ∂
  67.                 -o "{TargetsDir}{DriverName}"
  68.  
  69. "{TargetsDir}{DriverName}"            ƒƒ    "{ObjectsDir}{DriverName}.a.o"            ∂
  70.                                         "{ObjectsDir}{DriverName}.c.o"            ∂
  71.                                         "{SourcesDir}{DriverName}.make"
  72.     Link        -t 'pdvr'                                                        ∂
  73.                     -c {kCreator}                                                ∂
  74.                     -ra =resSysHeap,resPurgeable                                ∂
  75.                     -rt pdvr=0                                                    ∂
  76.                     -sg "{DriverName}"                                            ∂
  77.                     -m DriverJumpTable                                            ∂
  78.                     -msg noDup                                                    ∂
  79.                     "{ObjectsDir}{DriverName}.a.o"                                ∂
  80.                     "{ObjectsDir}{DriverName}.c.o"                                ∂
  81.                     "{Libraries}Interface.o"                                    ∂
  82.                     -o "{TargetsDir}{DriverName}"
  83.  
  84. "{TargetsDir}{DriverName}"            ƒƒ    "{ObjectsDir}{ChooserFile}.a.o"            ∂
  85.                                         "{ObjectsDir}{ChooserFile}.c.o"            ∂
  86.                                         "{SourcesDir}{DriverName}.make"
  87.     Link                                                                         ∂
  88.                     "{ObjectsDir}{ChooserFile}.a.o"                                ∂
  89.                     "{ObjectsDir}{ChooserFile}.c.o"                                ∂
  90.                     -ra =resSysHeap,resPurgeable                                ∂
  91.                     -rt PACK=-4096                                                ∂
  92.                     -sg PrintingPACK                                            ∂
  93.                     -m EntryPoint                                                ∂
  94.                     -o "{TargetsDir}{DriverName}"
  95.  
  96. "{TargetsDir}{DriverName}"            ƒƒ    "{ObjectsDir}{ChooserFile}.a.o"            ∂
  97.                                         "{ObjectsDir}{ChooserFile}.c.o"            ∂
  98.                                         "{SourcesDir}{DriverName}.make"
  99.     Link                                                                         ∂
  100.                     "{ObjectsDir}{ChooserFile}.c.o"                                ∂
  101.                     "{Libraries}Interface.o"                                    ∂
  102.                     -ra =resSysHeap,resPurgeable                                ∂
  103.                     -rt LDEF=-4096                                                ∂
  104.                     -sg LDEF                                                    ∂
  105.                     -m LDEF                                                        ∂
  106.                     -w                                                            ∂
  107.                     -o "{TargetsDir}{DriverName}"
  108.  
  109.